package com.ngkj.zmfptback.sys.service.read.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ngkj.zmfptback.sys.bean.AuthorityEntity;
import com.ngkj.zmfptback.sys.mapper.read.AuthReadMapper;
import com.ngkj.zmfptback.sys.service.read.AuthReadService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author ChenHN
 * @since 2021/12/22 creation
 **/
@Service
@Transactional(readOnly = true)
public class AuthReadServiceImpl extends ServiceImpl<AuthReadMapper, AuthorityEntity> implements AuthReadService {

    @Resource
    private AuthReadMapper authReadMapper;

    @Override
    public List<AuthorityEntity> getAuthList() {
        return authReadMapper.getAuthList();
    }
}
